package com.xiaoxx.model.entity.coin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.xiaoxx.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author HX
 * @since 2024-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_binance_apikey")
@ApiModel(value="BinanceApikey对象", description="")
public class BinanceApikey extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "api key")
    @TableField("api_key")
    private String apiKey;

    @ApiModelProperty(value = "秘钥")
    @TableField("secret_key")
    private String secretKey;

    @ApiModelProperty(value = "最大下单金额")
    @TableField("max_order_amount")
    private BigDecimal maxOrderAmount;

    @ApiModelProperty(value = "最大开单数量")
    @TableField("max_order_num")
    private Integer maxOrderNum;

    @ApiModelProperty(value = "当前开单数量")
    @TableField("current_order_num")
    private Integer currentOrderNum;

    @ApiModelProperty(value = "0 -关闭 1-启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "描述")
    @TableField("api_desc")
    private String apiDesc;

    @ApiModelProperty(value = "账户总额")
    @TableField("total_wallet_balance")
    private String totalWalletBalance;

    @ApiModelProperty(value = "持仓未实现盈亏总额")
    @TableField("total_unrealized_profit")
    private String totalUnrealizedProfit;

    @ApiModelProperty(value = "剩余额")
    @TableField("total_cross_wallet_balance")
    private String totalCrossWalletBalance;
}
